using System.Collections.Generic;
using I2.Loc;
using UnityEngine;

public class VKButton : MonoBehaviour
{
	public UIPanel panel;

	private void OnEnable()
	{
		panel.alpha = ((!LocalizationManager.IsRussian()) ? 0f : 1f);
	}

	public void OnClick()
	{
		if (Load.LoadBool(settings.KeyActionAfterTutor))
		{
			Dictionary<string, string> dictionary = new Dictionary<string, string>();
			dictionary.Add("Action after tutor", "VK");
			FlurryWrapper.LogEvent(FlurryWrapper.EV_TUTORIAL_CLOSE, dictionary);
			Save.SaveBool(settings.KeyActionAfterTutor, false);
		}
		Application.OpenURL("https://vk.com/bcw3d");
	}
}
